package com.rf.richfitwheel.workflow.service;

import com.rf.richfitwheel.workflow.model.WfAuthRule;
import net.sf.json.JSONArray;

import java.util.List;

public interface WfAuthRuleService {


    List<WfAuthRule> listByStationProcessOrderId(String id);

    void save(String folderCode, String stationProcessOrderId, String authType, JSONArray authRules);

    void save(WfAuthRule wfAuthRule);

    void deleteByProcessStationId(String processStationId);

    void deleteByIds(List<String> ids);

    void deleteById(String id);

    void update(WfAuthRule wfAuthRule);
}
